function bg = HighlightVertices(vertices, bg, highlightColor)

if (nargin < 3)
    highlightColor = [1 0 0];
end

if (sum(vertices == 0) ~= 0)
    warning('GRAPHS:InvalidIndex','Vertex collection contains 0');
    return;
end

try
    set(bg.nodes,'Color',[1 1 1]);
    set(bg.nodes,'TextColor',[0 0 0]);
    ColorVertices(vertices, bg, highlightColor);
catch ex
    warning(ex.message)
end